﻿/*
 * Created by SharpDevelop.
 * User: lpelegrini
 * Date: 22/06/2013
 * Time: 19:37
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace Fazenda.Entity
{
	/// <summary>
	/// Description of Invoice.
	/// </summary>
	public class Invoice
	{
		public enum ObligationType { Pagar, Receber };
		public enum DocumentType { Cheque, Deposito, NotaFiscal, Recibo, Orcamento  };
		public enum SituationType { Aberta, Parcial, Pago };
		public enum PaimentType { AVista, Parcelado };
		
		public int ID { get; set; }
		public int IDPerson  { get; set; }
		public int IDCostCenter  { get; set; }
		public ObligationType Obligation { get; set; }
		public DocumentType Document  { get; set; }
		public string DocumentNumber  { get; set; }
		public string DocumentSerie  { get; set; }
		public DateTime DocumentIssuance  { get; set; }
		public DateTime DocumentExpiration  { get; set; }
		public double Value  { get; set; }
		public double ValuePaid  { get; set; }
		public double ValueRate  { get; set; }
		public double ValueDiscount  { get; set; }
		public DateTime OffDate  { get; set; }
		public SituationType Situation  { get; set; }
		public PaimentType Paiment   { get; set; }
		public int ParcelQuantity   { get; set; }
		public string Description  { get; set; }
		
		public Invoice()
		{
		}
	}
}
